package cn.mall.product.feign;

import cn.mall.common.utils.R;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("mall-member")
public interface OpenFeignMemberService {
    @RequestMapping("member/member/info/{id}")
    R info(@PathVariable("id") Long id);
    @RequestMapping("member/menber/list")
    R list(@RequestParam Map<String, Object> params);
}

